package com.origin.chaos.security.bean.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

/**
 * @author: tao.ding
 * @date 2021-07-16
 */
@Data
public class User {
    /**
     * 调用接口时token请求头
     */
    public static final String TOKEN_HEADER = "token";

    /**
     * 用户ID
     */
    @JSONField(serialize = false)
    private long id;

    /**
     * 用户昵称
     */
    private String nickName;

    /**
     * 用户登录邮箱
     */
    private String email;

    /**
     * 用户登录密码
     */
    private String password;
}
